import http from './request.js'
//我的獲取簡歷相關信息
function userMyResume(data) {
  return http({
    url: '/xilujob.user/my_resume',
    method: 'GET',
    data
  })
}
//我的編輯個人信息
function userSaveModule(data) {
  return http({
    url: '/xilujob.user/save_module',
    method: 'POST',
    data
  })
}
//我的附件列表接口
function resumeResultFiles(data) {
  return http({
    url: '/xilujob/resume/resume_file',
    method: 'POST',
    data
  })
}
//我的添加简历附件
function resumeUploadResume(data) {
  return http({
    url: '/xilujob/resume/upload_resume',
    method: 'POST',
    data
  })
}
//我的删除简历附件
function resumeDeleteResume(data) {
  return http({
    url: '/xilujob/resume/delete_resume',
    method: 'POST',
    data
  })
}
//我的-面试列表
function jobInterviewPersonalList(data) {
  return http({
    url: '/xilujob.job_interview/personal_list',
    method: 'POST',
    data
  })
}
//退出登陸
function userLogout(data) {
  return http({
    url: '/user/logout',
    method: 'POST',
    data
  })
}
//我的学历水平
function educationLevels(data) {
  return http({
    url: '/xilujob.common/education_levels',
    method: 'POST',
    data
  })
}
//我的-添加學歷
function userSaveEdu(data) {
  return http({
    url: '/xilujob.user/save_edu',
    method: 'POST',
    data
  })
}
//我的-求職期望
function userSaveIntention(data) {
  return http({
    url: '/xilujob.user/save_intention',
    method: 'POST',
    data
  })
}
//考勤-考勤统计
function attendanceStatistics(data) {
  return http({
    url: '/attendance/statistics',
    method: 'GET',
    data
  })
}
//考勤-工作經歷
function userSaveWork(data) {
  return http({
    url: '/xilujob.user/save_work',
    method: 'POST',
    data
  })
}
//考勤-項目經驗
function userSaveProject(data) {
  return http({
    url: '/xilujob.user/save_project',
    method: 'POST',
    data
  })
}
//我的-面试详情
function jobInterviewDetail(data) {
  return http({
    url: '/xilujob.job_interview/detail',
    method: 'POST',
    data
  })
}
//我的-自定義附件
function userListFileZDY(data) {
  return http({
    url: '/xilujob.user/list_file',
    method: 'POST',
    data
  })
}
//我的-自定義附件添加
function userUploadFileZDY(data) {
  return http({
    url: '/xilujob.user/upload_file',
    method: 'POST',
    data
  })
}
//我的-自定義附件刪除
function userDeleteFileZDY(data) {
  return http({
    url: '/xilujob.user/delete_file',
    method: 'POST',
    data
  })
}
//我的-验证码
function smsSend(data) {
  return http({
    url: '/sms/send',
    method: 'POST',
    data
  })
}
//我的-報告記錄
function attendanceReprotList(data) {
  return http({
    url: '/attendance/reprot_list',
    method: 'POST',
    data
  })
}
//我的-證件照列表
function userListCard(data) {
  return http({
    url: '/xilujob.user/list_card',
    method: 'POST',
    data
  })
}
//我的-證件照上傳
function userUploadCard(data) {
  return http({
    url: '/xilujob.user/upload_card',
    method: 'POST',
    data
  })
}
//考勤-指定月份按天查询考勤和请假
function attendanceDaystatistics(data) {
  return http({
    url: '/attendance/daystatistics',
    method: 'GET',
    data
  })
}
//考勤-查询指定的周
function attendanceMonthweeks(data) {
  return http({
    url: '/attendance/monthweeks',
    method: 'GET',
    data
  })
}
// 消息首页给用户发最新消息的列表
function chatIndexgetmyxinxinuserlist(data) {
  return http({
    url: '/chat/indexgetmyxinxinuserlist',
    method: 'GET',
    data
  })
}
// 历史消息
function chatGetmyprivatexinxi(data) {
  return http({
    url: '/chat/getmyprivatexinxi',
    method: 'GET',
    data
  })
}
//商品-计算价格
function productCalculatprice(data) {
  return http({
    url: '/xilujob.product/calculatprice',
    method: 'POST',
    data
  })
}
export {
  userMyResume,
  userSaveModule,
  resumeResultFiles,
  resumeUploadResume,
  resumeDeleteResume,
  jobInterviewPersonalList,
  userLogout,
  educationLevels,
  userSaveEdu,
  userSaveIntention,
  attendanceStatistics,
  userSaveWork,
  userSaveProject,
  jobInterviewDetail,
  userListFileZDY,
  userUploadFileZDY,
  userDeleteFileZDY,
  smsSend,
  attendanceReprotList,
  userListCard,
  userUploadCard,
  attendanceDaystatistics,
  attendanceMonthweeks,
  chatIndexgetmyxinxinuserlist,
  chatGetmyprivatexinxi,
  productCalculatprice,
}